﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using AncientLand.Service.Entity;

namespace AncientLand.Service.IBiz
{
    public interface IPictorialCategoryBiz
    {
        IEnumerable<PictorialCategory> GetAll();
        PictorialCategory GetById(int id);
        void Create(PictorialCategory category);
        void Update(PictorialCategory category);
        void Update(int id, string categoryName, string thumbnailPath);
        void Delete(int id);
        void Save();
        IEnumerable<PictorialCategory> GetCategoryByPages(out int totalRecord, int? pageIndex = 1, int? pageSize = 10, string orderFiled = "ID");
        
    }
}
